/**
 * Created by kevin on 2017/6/17.
 */
var express = require('express');
var router = express.Router();
var Guanjia = require('../models/Guanjia');

router.get('/',function (req,res,next) {
    Guanjia.getInfo(function (err,guanjia) {
        console.log(JSON.stringify(guanjia))
        res.render('guanjia/index',{title:'包管理器',guanjia:guanjia});
    });
});

module.exports = router;